<!DOCTYPE html>
<html lang="en">
	<head>
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="../lib/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/base.css" />
		<link rel="stylesheet" type="text/css" href="../css/upload.css" />
	</head>
	<body>
		<div class="titleTea">
			<a href="myself.html">
				<span class="glyphicon glyphicon-menu-left"></span>
			</a>
			<h3>商户入驻</h3>
		</div>
		<form id="imageform" name='imageform'>
			<div class="container">
				<div class='tishi'> <p>商户联系人用于接受茶未来反馈通知，请正确填写。</p>
				<p>注意事项：上传图片格式为jpg，图片大小超过1M</p></div>
				<input name='uid' type='hidden' class='userid'>
				<div class='container upload '>
					<!-- <div class='row'>
							<div class='col-xs-4'>营业执照:</div>
							<div class='col-xs-8'> <input class='shopname' type="file" name='img[]'></div>
					</div>
					<div class='row'>
							<div class='col-xs-4'>运营者手持身份证:</div>
							<div class='col-xs-8'> <input class='shopname' type="file" name='img[]'></div>
					</div>
				-->				</div>
				<div class='row agreement'>
					<input type="checkbox"><a href="shopTreaty.html" class="shopTreaty">&lt;&lt;商家在入驻协议&gt;&gt;</a>
				</div>
				<div class='row'><input type="button" value="取消申请" class="cancel">
				<input type="button" class='upload_sub' value="提交申请"></div>
				
			</div> </form>
		</body>
		<script src="../lib/js/jquery-1.12.4.js"></script>
		<!-- <script src="../lib/js/jquery.wallform.js"></script> -->
		<script src="../lib/template/template-native.js"></script>
		<script src="../lib/js/bootstrap.min.js"></script>
		<script  type="text" id="uplaod">
		<%for (var i = 0; i < data.length; i++) {%>
		<div class='row'>
			<div class='col-xs-4'><%=data[i].reg_field_name%>:</div>
			<div class='col-xs-8'>
				<%if (data[i].type=='text') {%>
				<input class='shopname' type="text" name='seller_info[<%=data[i].id%>]'>
				<%}else if(data[i].type =='file'){%>
				<input class='shopname' type="file" name='img[]'>
				<%}else if(data[i].type =='select'){%>
				<select name='seller_info[<%=data[i].id%>]'>
					<%for(var j = 0; j < data[i].select_options.split('\n').length; j++) {%>
					<option value='<%=data[i].select_options.split('\n')[j]%>'><%=data[i].select_options.split('\n')[j]%></option>
					<%}%>
				</select>
				<%}%>
			</div>
		</div>
		<%}%>
		</script>
		<script src="../script/bussinessEnter.js"></script>
		<script src="../script/rem.js"></script>
	</html>